{% extends 'base.html' %}

{% block title %}{{ profile }}{% endblock %}

{% block content %}
<h1>{{ profile }}, {{ profile.affiliate }}</h1>

{% if profile.mugshot %}
<p><img src="{{ profile.mugshot.display.url }}" /></p>
{% else %}
<p>No image uploaded yet.</p>
{% endif %}

<h2><a href="{{profile.url}}">{{ profile.url }}</a></h2>
<p>{{ profile.bio }}</p>
<p>Phone: {{profile.phone}}</p>
<p>Location: {{ profile.location }}</p>
<p><a href="http://twitter.com/{{profile.twitter_name}}">Twitter</a></p>

{% endblock %}
